package com.sofwin.system.vo;

import com.github.pagehelper.PageInfo;
import lombok.Data;

import java.util.List;

/**
 * @packageName: com.sofwin.system.vo
 * @user: andyliu
 * @date: 2021/7/13 15:04
 * @email 115176513@qq.com
 * @description: TODO
 */
@Data
public class PageVO {

    public PageVO(PageInfo page){
        this.total=page.getTotal();
        this.totalNotFiltered=this.total;
        this.rows=page.getList();
    }
    private long total;
    private long totalNotFiltered;
    private List rows;
}
